using System;
using NUnit.Framework;
using Sanelib.Common.Extensions;

namespace UnitTest.Common
{
    [TestFixture]
    public class ExtensionsTester
    {
        [Test]
        public void ShouldParseTimeFromString()
        {
            var time = "1pm".ParseTime();
            Assert.AreEqual(time, new TimeSpan(0, 13, 0, 0));
        }
    }
}